from PIL import Image

file = "man1.jpg"
img = Image.open(file)
img.rotate(90).show()
img.rotate(180).show()
img.transpose(Image.FLIP_LEFT_RIGHT).show()
